Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-1848242 + Send clientname and clientkey with every registerblobs request for metering views #922

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

sfc-gh-hmadan
Copy link
Collaborator

Iceberg's billing needs the clientname and clientkey at the time of DML Commit. While it can be read via a S3 get-metadata call, its a wasteful approach. This PR optimizes away that S3 call by sending the metadata inline with the registerBlobs API call.

Ran FDN and Iceberg ITs locally against sfctest0 to make sure the json backcompat fix from months ago will allow unknown fields to appear on the payload without causing issues. IT run from this PR's merge gate should be green.

@sfc-gh-xhuang sfc-gh-xhuang changed the title Send clientname and clientkey with every registerblobs request, to enable iceberg billing Send clientname and clientkey with every registerblobs request for metering views Dec 2, 2024
@sfc-gh-xhuang sfc-gh-xhuang marked this pull request as ready for review December 2, 2024 17:05
@sfc-gh-xhuang sfc-gh-xhuang requested review from sfc-gh-tzhang and a team as code owners December 2, 2024 17:05
Copy link
Contributor

@sfc-gh-alhuang sfc-gh-alhuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@sfc-gh-xhuang sfc-gh-xhuang merged commit 5d11892 into master Dec 2, 2024
51 checks passed
@sfc-gh-xhuang sfc-gh-xhuang deleted the hmadan-sendbillinginfo branch December 2, 2024 18:40
@sfc-gh-hmadan sfc-gh-hmadan changed the title Send clientname and clientkey with every registerblobs request for metering views SNOW-1848242 + Send clientname and clientkey with every registerblobs request for metering views Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants